SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f451df9f79e6e379c84b6f722041c6351c0059576ccecc1d16fb2e299415163' 
  AND token = 'eGX5bBa+C25sxYRcVRekSjYQYGbni+sqXhjW3NqQ/LA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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