SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27835c3e57f777c29fa415306ac3b99fcde122f1160b2a4ee41a91160d831ff0' 
  AND token = 'jlEbLdis47qdL70s7fECsQ0mvqHruAqreQQA2buaXvc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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