SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecd77d4795bbf2a8a1855f261521b548ae415b4a7c1387e0ba8318a833cc1997' 
  AND token = 'ZpnnQlijMXvI6X/85fhFQoTfnD4EBin6JAQUT7o6hN4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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