SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c525f18c38478a27ab191d365e99006fae45c31254456e674a18e8311533fe31' 
  AND token = 'ZhNV4aosIWJTJn88eYD/9rQSacZHAO0PctnFP6lDe20=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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