SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e838846b24ca1cbb29b1ecf71387f19b2931243f174c5ec21a03a4dd27b85ae7' 
  AND token = 'liLsb4p/4wlhhNxa6m/Fn62wfI5Aq9mGFqgrD4lgEvs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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