SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8eda3bef202613da09c868453905bc616d77e46a6927cd5e59cad658ab88312b' 
  AND token = 'sgLlkxFS2INAA1dKrUEnEGrxlSI6AGkczIcDPaSC+BU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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