SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1479c5d22ca542c302a3be5a9db619f92b7701e3eb28c778fd0ea9b2c893b1dd' 
  AND token = 'jpZ4V3Xyx4BbxpOYmgMi1Sn67aB5GY5Xs8ic8WHk09w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00060

JSON explain

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