SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db86b6c465089e95570fc9c05014f16699040457d9c8e6f34491aca298af0242' 
  AND token = '8r0cQ/i908rP1ttwhcxoG5rwOPooxM91/tzr5B9IQ6I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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