SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4c8e0ae1b17354eeac3e9477f5c3158b5a17b29b7bdc8c3279884ef90d00cd2d' 
  AND token = 'uvGr9GO9i2LfkjFuKR0ayB1TQ6si6bj1wbHN6PTPOaQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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