SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1e96a81b3760284ebdf2f1e0dcd8a3c486375a060a23631c5a1c513b4b863cd8' 
  AND token = 'tj5MF0N0wgXGEZrTtF+ymYjGYv6zDeVdh3Xkrp5G85o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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