SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e1db53e1ec78a47f5839eb5444dca8dd790f089db425127cedb830c79322a5c' 
  AND token = '1VjrY9c3RA0j/w6qAtut6NCSlbhzLjS3caRVXK8TDZM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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