SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d6ee801db11cdbf68c6defbfa64dd537f21ffae17e6783ec2f25dff164018b8' 
  AND token = 'Yd7C5oP2pUQoVIZ7UZQBuMl/YcvqOOEcRHxYTfuEL7s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00059

JSON explain

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