SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e8cd9f2f0e31e1d9e1c653f5699db7f05b270e3aa53042f787773e3c18af31b' 
  AND token = 'yuaz6MeGqmzjbwF3Zsyva8NpKGhukyfrPSj37r2ftEY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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