SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '226c8de41e9f8d35a172e2abf1f9271681f15d7659f6033ae01beecbb5283086' 
  AND token = 'vysRQNJzzpWTy7JeYVAC2LViV/AGa4TEIkCnokTD0kI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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