SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6af8e0b9cf51455e2bfcc0237321eae9664be47e04a905c94876f4c41e285d7e' 
  AND token = 'mKuOuTep1DKCqZg2oiU/5E6TaZmwIeYMr2wY/h6CUtI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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