SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '17cbf4716dd564e76f78d527c453cc38f09789d3ea3ab0d5f6076007364530a2' 
  AND token = 'GQj29q9nEj+owYQTYN61y9hWH2ApiX2/dC/LwwyPY6o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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