SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd1fcbb62cc4cc94320930c04a278c1234875c5500cbb41c1b66dd2102c7341c' 
  AND token = 'gZkiBS4S+ylJT+DX0SbheP0KOs0AjBwtBLDQbiELkf8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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