SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2fb72844ec4b059ab516cc8fff40a620c66ab6354672670983c49176a0e1c3db' 
  AND token = 'xiO3YNUPQpx3zW03YyIGJ4iCDGZ9WR7gf2ioOfuXXyE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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