SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2a51302e1323c95c5983c3154a5d7b992aca8a67db649d090ee9ff28639f6e99' 
  AND token = '4oXwZHPodN/brvlASL4DqwRtsvc9ff29l9lxOGleviY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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