SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d30372b1cffa50665f10ca0578dd7828dd67a58531cb43ec2cc5fc9a4b5d9e5' 
  AND token = 'AFcWeidGUOFjWGKiNRwcUojwAczNblzZ/w4O72cx8K0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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