SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7169c967d1cf9ae45d86614b11d8c042c938bd5e2e1d9bf97edcdd8150e1806' 
  AND token = 'gPv1K3a+zZ9VqFLsKMbpaKlyWM7nTuNTDcL4Pt7E5Eg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}