SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c6161670fc09194e5b0e0bad3ec2196782060d993c390824eba8379c2113e769' 
  AND token = 'kKBCDlKbTF7i2e63UE/H3rDOxXrMZTBTIwe5jSlSsSE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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