SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31d1dc1441129a2c7163cedc9e3ffc263ff3883d9eee5a21a8ceaccb88380d65' 
  AND token = 'nCQZjRR9pazfgU64cK6Gw6MUcIcD/+s56VESnGGTmco=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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