SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f1afe7f8363b5af8e769c52af009fab72212cd0fb778659ddc45a4aae5d553a2' 
  AND token = 'LJZ7qwJr7WYA7EbgiXkBr9GYdexChYw2cCA3K34DiLs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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