SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '251c76861b0f5ae6657eb9969015ba1b5b24f4916b797a1b5552ea624cc44db0' 
  AND token = 'Xs4ScgEXzlBjHk5hTz5ih6Gr/7Vqv7UOyF7KQSyMvDI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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