SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ff308026bddf69a68afeeb9d4795a57fca4c86b9416128a684a11d59159ae76' 
  AND token = 'TO0Wkf2CQXlLgV5Jg0iKlcqLT9kXz8TjHHoHwsmfgNs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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