SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '095b2fea5399184ef5b611219bf1050a8226125054bc7c955bb5edc8480dd70c' 
  AND token = 'jmBqOjpBN3652yQORha/0TofxbP/tv89OkNui0F5B9Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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